package cn.itrip.dao.service;

import cn.itrip.beans.pojo.ItripAreaDic;
import cn.itrip.beans.pojo.ItripLabelDic;
import cn.itrip.dao.mapper.ItripAreaDicMapper;
import cn.itrip.dao.mapper.ItripLabelDicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Tequila
 **/
@Service
public class ItripAreaDicServiceImpl implements ItripAreaDicService {

    @Autowired
    private ItripAreaDicMapper itripAreaDicMapper;
    @Override
    public List<ItripAreaDic> queryHotCity(Map<String, Object> map) {
        return itripAreaDicMapper.selectByMap(map);// map中的key 必须要于数据库字段相同
    }
}
